package com.sdry.service.impl.gemini;

import com.sdry.annotation.BaseService;
import com.sdry.base.BaseServiceImpl;
import com.sdry.entity.PartPosition;
import com.sdry.entity.PartPositionExample;
import com.sdry.mapper.PartPositionMapper;
import com.sdry.service.gemini.PartPositionService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by Gemini on 2018/8/3
 *
 * 库位实现类
 */
@Service
@Transactional
@BaseService
public class PartPositionServiceImpl extends BaseServiceImpl<PartPositionMapper,PartPosition,PartPositionExample> implements PartPositionService {
    @SuppressWarnings("unused")
    private static final Logger LOGGER = LoggerFactory.getLogger(PartPositionServiceImpl.class);

    @Autowired
    PartPositionMapper positionMapper;

    @Override
    public List<PartPosition> selectAll(PartPositionExample example) {
        return positionMapper.selectAll(example);
    }
}
